package cc.plural.jsonij.marshal.helpers;

import cc.plural.jsonij.marshal.helpers.JSONObject2;

public class JSONObject {

    public int rah;
    String message;
    public long id;
    private Boolean flag;
    public JSONObject2 inner;
    public double[] innerDoubleArray;
    
    public JSONObject() {
        rah = -1;
        message = null;
        id = -1;
        flag = false;
    }

    public int getRah() {
        return rah;
    }

    public void setRah(int rah) {
        this.rah = rah;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
    
    public void setFlag(Boolean flag) {
        this.flag = flag;
    }
    
    public Boolean getFlag() {
        return flag;
    }
    
    @Override
    public String toString() {
        return String.format("JSONObject[%s,%s,%s,%s,%s]", id, rah, message, flag, inner);
    }
}
